<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- saved from url=(0063)  -->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>Puntos de interes universitarios</title>

	
	<link  rel="stylesheet" href="<?php echo base_url();?>/recursos/css/login-style.css" type="text/css" >
	<script type="text/javascript" src="http://code.jquery.com/jquery-1.9.1.js"></script>
	<script type="text/javascript" src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>

</head>
<body>
<div id="body">

	<div id="login-form" >
		
		<div id="box-titulos">
			<p id="titulo">Iniciar sesion</p>
			<p id="sub-titulo">Administracion de <br>puntos de interes universitarios</p>
		</div>
		<?php echo form_open('verifylogin',"name=login"); 
			
			if ($error != "") {
				echo "<input id=\"error\" type=\"hidden\" value=\"error\">";
			}else{
				echo "<input id=\"error\" type=\"hidden\" value=\"ok\">";
			}
		?>
			<p>Correo electronico <span>*</span></p>
			<input id="inputs-login" type="text" placeholder="peter@example.com" name="mail" required>
			<p>Contraseña <span>*</span></p>
			<input id="inputs-login" type="password" name="pass" required>
			<input id="boton-enviar" type="submit" name="enviar" text="Enviar">
		</form>
	</div>

</div>
<script type="text/javascript">
	$(document).ready(
		function() {
			//alert("puto");
			var error = document.forms.login.error.value;
			
			if (error == "error") {
				$("#login-form").effect("shake");	
			};
		}
	);
</script>
</body>
</html>	
